Optimal. Leaf size=48 \[ -\frac {1}{16} b d n x^4-\frac {1}{25} b e n x^5+\frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {45, 2371, 12}
\begin {gather*} \frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {1}{16} b d n x^4-\frac {1}{25} b e n x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 45
Rule 2371
Rubi steps
\begin {align*} \int x^3 (d+e x) \left (a+b \log \left (c x^n\right )\right ) \, dx &=\frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \frac {1}{20} x^3 (5 d+4 e x) \, dx\\ &=\frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {1}{20} (b n) \int x^3 (5 d+4 e x) \, dx\\ &=\frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {1}{20} (b n) \int \left (5 d x^3+4 e x^4\right ) \, dx\\ &=-\frac {1}{16} b d n x^4-\frac {1}{25} b e n x^5+\frac {1}{20} \left (5 d x^4+4 e x^5\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 48, normalized size = 1.00 \begin {gather*} \frac {1}{400} x^4 \left (20 a (5 d+4 e x)-b n (25 d+16 e x)+20 b (5 d+4 e x) \log \left (c x^n\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.04, size = 264, normalized size = 5.50
method | result | size |
risch | \(\frac {b \,x^{4} \left (4 e x +5 d \right ) \ln \left (x^{n}\right )}{20}-\frac {i \pi b e \,x^{5} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{10}+\frac {i \pi b e \,x^{5} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{10}+\frac {i \pi b e \,x^{5} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{10}-\frac {i \pi b e \,x^{5} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{10}+\frac {\ln \left (c \right ) b e \,x^{5}}{5}-\frac {b e n \,x^{5}}{25}+\frac {x^{5} a e}{5}-\frac {i \pi b d \,x^{4} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{8}+\frac {i \pi b d \,x^{4} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{8}+\frac {i \pi b d \,x^{4} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{8}-\frac {i \pi b d \,x^{4} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{8}+\frac {\ln \left (c \right ) b d \,x^{4}}{4}-\frac {b d n \,x^{4}}{16}+\frac {x^{4} a d}{4}\) | \(264\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 60, normalized size = 1.25 \begin {gather*} -\frac {1}{25} \, b n x^{5} e + \frac {1}{5} \, b x^{5} e \log \left (c x^{n}\right ) - \frac {1}{16} \, b d n x^{4} + \frac {1}{5} \, a x^{5} e + \frac {1}{4} \, b d x^{4} \log \left (c x^{n}\right ) + \frac {1}{4} \, a d x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 71, normalized size = 1.48 \begin {gather*} -\frac {1}{25} \, {\left (b n - 5 \, a\right )} x^{5} e - \frac {1}{16} \, {\left (b d n - 4 \, a d\right )} x^{4} + \frac {1}{20} \, {\left (4 \, b x^{5} e + 5 \, b d x^{4}\right )} \log \left (c\right ) + \frac {1}{20} \, {\left (4 \, b n x^{5} e + 5 \, b d n x^{4}\right )} \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.41, size = 66, normalized size = 1.38 \begin {gather*} \frac {a d x^{4}}{4} + \frac {a e x^{5}}{5} - \frac {b d n x^{4}}{16} + \frac {b d x^{4} \log {\left (c x^{n} \right )}}{4} - \frac {b e n x^{5}}{25} + \frac {b e x^{5} \log {\left (c x^{n} \right )}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.50, size = 73, normalized size = 1.52 \begin {gather*} \frac {1}{5} \, b n x^{5} e \log \left (x\right ) - \frac {1}{25} \, b n x^{5} e + \frac {1}{5} \, b x^{5} e \log \left (c\right ) + \frac {1}{4} \, b d n x^{4} \log \left (x\right ) - \frac {1}{16} \, b d n x^{4} + \frac {1}{5} \, a x^{5} e + \frac {1}{4} \, b d x^{4} \log \left (c\right ) + \frac {1}{4} \, a d x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.64, size = 51, normalized size = 1.06 \begin {gather*} \ln \left (c\,x^n\right )\,\left (\frac {b\,e\,x^5}{5}+\frac {b\,d\,x^4}{4}\right )+\frac {d\,x^4\,\left (4\,a-b\,n\right )}{16}+\frac {e\,x^5\,\left (5\,a-b\,n\right )}{25} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________